﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/SearchRecommand.master" AutoEventWireup="true"
    CodeFile="ComparePrice.aspx.cs" Inherits="TLP_ComparePrice" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="detail">
        <table>
            <tr>
                <td colspan="2" class="da">
                    <a href="Default.aspx?id=<%= Entity.Oc_id %>" title="<%= Entity.Title %>"><%= Entity.Title %></a>
                </td>
            </tr>
            <tr>
                <td>
                    所属类别：<a target="_blank" href="../SLP/Default.aspx?id=<%= Entity.Type%>"><%= Entity.Typename%></a></td>
                <td>
                    培训机构：<%= Entity.Presideunit%></td>
            </tr>
            <tr>
                <td colspan="2">
                    最低价格：<a href="<%= Entity.Url%>" target="_blank"><%= Entity.Promotepricevar%>
                    在<%= Entity.Srcweb%></a></td>
            </tr>
            <tr>
                <td colspan="2">
                    <%= Entity.Introduction%>
                </td>
            </tr>
        </table>
        <br />
        <br />
        <br />
        <div>
            共有<%= Entity.Counter%>家培训机构提供本课程</div><hr />
    </div>
    <br />
    <div class="datalist w100">
        <asp:Repeater ID="Repeater1" runat="server" DataSourceID="ObjectDataSource1">
            <HeaderTemplate>
                <table>
                    <tr class="th">
                        <td>
                            来源</td>
                        <td>
                            开课时间</td>
                        <td>
                            价格</td>
                        <td>
                            培训顾问</td>
                        <td>
                            培训机构</td>
                        <td>
                            培训地点</td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="7">
                            <hr />
                        </td>
                    </tr>
            </HeaderTemplate>
            <SeparatorTemplate>
                <tr>
                    <td colspan="7">
                        <hr />
                    </td>
                </tr>
            </SeparatorTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem, "SrcWeb")%>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem, "OpenDate")%>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem, "promotepricevar")%>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem, "teacher")%>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem, "PresideUnit")%>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem, "Address")%>
                    </td>
                    <td>
                        <input type="button" value="去看看" class="q" onclick="window.open('<%# DataBinder.Eval (Container.DataItem, "url") %>');" /></td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                <tr>
                    <td colspan="7">
                        <hr />
                    </td>
                </tr>
                </table></FooterTemplate>
        </asp:Repeater>
    </div>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
        SelectMethod="RetrieveItemsByOcId" TypeName="Gammar.Price.Business.BusinessObjectLogic">
        <SelectParameters>
            <asp:QueryStringParameter Name="guid" QueryStringField="id" Type="Object" />
        </SelectParameters>
    </asp:ObjectDataSource>
</asp:Content>
